#pragma once

class CRawData :
	public vector<vector<double>>
{
public:
	CRawData(void);
	~CRawData(void);
	void Add(const double & Time, const double & Mean, const double & Max, const double & Min, const double & Dev);

	inline CString ToString(const int nLineIndex)const
	{
		const vector<double>& cCur = (*this)[nLineIndex];
		CString tmp;
		tmp.Format("%3lf %3lf %d %d %3lf %3lf",cCur[0]/60000,cCur[1],D2I(cCur[2]),D2I(cCur[3]),cCur[1]-cCur[4],cCur[1]+cCur[4]);
		return tmp;
	}
};
